{config_load file='config.php'}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
      <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
      <title>{#ApplicationName#} | {$title|default:"Home"}</title>
      <link rel="stylesheet" href="style.css" type="text/css"></link>
   </head>
   <body>
      <div id="container">
      {if $logged_in}
      <div id="admin">
      	{if $admin}
         <ul>
            <li><a href="accounts.php"><img src="images/user_view.png" alt="View Accounts" title="View Accounts" /></a></li>
            <li><a href="addAccount.php"><img src="images/user_add.png" alt="Add an Account" title="Add an Account" /></a></li>
         </ul>
         <ul>
            <li><a href="payments.php"><img src="images/payment.png" alt="Display Payments" title="Display Payments" /></a></li>
            <li><a href="addPayment.php"><img src="images/payment_add.png" alt="Add a Payments" title="Add a Payments" /></a></li>
         </ul>
			{/if}
         <ul class="last">
            <li><a href="logout.php"><img src="images/logout.png" alt="Logout" title="Logout" /></a></li>
         </ul>
		</div>
		{/if}

		<div class="title">
			<h1>{$title|default:"Home"}</h1>
		</div>
